<?php
function printTrendingWords(){
               include_once('functions/getTrendingWords.php');  
               $trendingWords = getTrendingWords();  
               for ($i = 0; $i < 5; $i++) {  
                      $trendingWords['words'][$i]=ucfirst($trendingWords['words'][$i]);
                   echo "<a class='trendigWords' href='buscar.php?keyword=" .$trendingWords['words'][$i]. "&ordenamiento=peso'>" . $trendingWords['words'][$i]. "<br /></a>";        
               }
               }
           ?>


